export const comsType = {
  DATE: 'DATE',
  TIME: 'TIME',
  TEXTAREA: 'TEXTAREA',
  EMAIL: 'EMAIL',
  TELEPHONE: 'TELEPHONE',
  DESCRIPTION: 'DESCRIPTION',
  NAME: 'NAME',
  RATING: 'RATING',
  FORM_HEADER: "FORM_HEADER",
  FORM_FOOTER: "FORM_FOOTER",
  FOOTER: 'FOOTER',
  TEXT: 'TEXT',
  ATTACHMENT: 'ATTACHMENT',
  COMBOBOX: "COMBOBOX",
  SELECT: "SELECT",
  PICTURE: "PICTURE",
  DATATABLE: 'DATATABLE',
  COLUMNPANEL2: 'COLUMNPANEL2',
  COLUMNPANEL3: 'COLUMNPANEL3',
  ADDRESS: 'ADDRESS',
  MAP: 'MAP',
  SIGNATURE: 'SIGNATURE',
  MOBILE: 'MOBILE',
  NUMBER: 'NUMBER',
  TABLELAYOUT: 'TABLELAYOUT',
  BOARD_ELEMENT: 'BOARD_ELEMENT'
};

// WeaSelect detailtype属性值
export const detailTypes = {
  CHECKBOX: 2,
  RADIO: 3,
};

// 公共组件WeaCheckbox 值
export const CHECKED = '1';
export const UNCHECKED = '0';

// combobox与select key
export const OTHER = '-1'; // 其他选项
export const CUSTOM = '-1'; // 自定义选项

export const viewTypes = {
  PC: 'desktop',
  MOBILE: 'mobile',
  MOBILE_WX: 'mobile_wx', // 微信中 且wx jssdk可用状态下
  READONLY: 'readonly'
};

// design与view模式下共用View.js
export const modeTypes = {
  DESIGN: 'design',
  VIEW: 'view'
}

export const ACCEPT_TYPE = {
  DOC: 'txt、pdf、doc、docx、xls、xlsx、ppt、pptx、wps、rtf、hlp',
  IMAGE: 'jpg、jpeg、png、gif、bmp、psd、tif',
  VIDEO: 'mkv、mp4、avi、swf、wmv、rmvb、mov、mpg',
  AUDIO: 'mp3、flac、ape、wma、wav、aac、m4a、au、ram、mmf、aif',
  COMPRESS: 'rar、zip、7z、gz、arj、z'
}

export const TIPS_MSG = {
  LOADING: '加载中...',
  PROCESSING: '请求处理中...'
}

export const TABKEYS = {
  MYCREATE: 'mycreat',
  SHAREME: 'shareme'
}

export const FROMWEITETABKEYS = {
  NOFILLED: 'nofilled',
  FILLED: 'filled'
}
